

import com.example.lib_base.base.http.BaseHttpClient
import okhttp3.OkHttpClient
import retrofit2.Retrofit

class ApiClient: BaseHttpClient() {

    companion object {
        @Volatile
        private var instance: ApiClient? = null

        @JvmStatic
        fun getInstance() =
            instance ?: synchronized(this) {
                instance ?: ApiClient().also { instance = it }
            }
    }


    override fun getBaseUrl(): String {
       return API.ADDRESS
    }

    override fun isDebug(): Boolean {
       return true
    }

    override fun handleOkBuilder(builder: OkHttpClient.Builder) {

    }

    override fun handleRetrofitBuilder(builder: Retrofit.Builder) {

    }
}

